﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Register.aspx.cs" Inherits="NoteSystem.Register" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <link href="css/style.css" rel="stylesheet">
    <link href="css/font.css" rel="stylesheet" type="text/css">
    <link href="css/bootstrap.min.css" rel="stylesheet" type="text/css">
    <script src="js/jquery.min.js"></script>
    <script src="js/bootstrap.min.js"></script>
</head>
<body>
    <form id="form1" runat="server">
        <div class="log_banner">
            <div class="inset">
                <h1>用户注册</h1>
                <p>Connect the real world and the internet world!</p>
            </div>

        </div>
        <!--注册开始-->
        <div id="body">
            <div id="reg_box" class="left">
                <div method="post" action="/" role="form" autocomplete="on">
                    <div class="my-group">
                        <span class="left">账户</span>
                        <asp:TextBox ID="txtAccount" CssClass="form-control put1" placeholder="请输入用户名" MaxLength="14" runat="server" required></asp:TextBox>
                    </div>


                    <div class="my-group">
                        <span class="left">生日</span>
                        <asp:TextBox ID="txtBirthday" CssClass="form-control put1" runat="server" placeholder="请输入用您的生日" TextMode="Date"  max="2000-01-01"></asp:TextBox>
                    </div>

                    <div class="my-group">
                        <span class="left">密码</span>
                        <asp:TextBox ID="txtPwd" CssClass="form-control put1" runat="server" placeholder="请输入密码" MaxLength="14"></asp:TextBox>
                    </div>

                    <div class="my-group">
                        <span class="left">重复密码</span>
                        <asp:TextBox ID="txtRPwd" CssClass="form-control put1" runat="server" placeholder="请再次输入密码" MaxLength="14"></asp:TextBox>
                    </div>

                    <div class="my-group">
                        <span class="left">所在城市</span>
                        <asp:DropDownList ID="ddlCity" CssClass="form-control put1" runat="server"></asp:DropDownList>
                    </div>

                    <div class="my-group">
                        <span class="left">上传头像</span>
                        <asp:FileUpload ID="fupImg" runat="server" /><asp:Image ID="img" runat="server" Height="80" Width="100" /><asp:Button ID="Button1" runat="server" Text="上传" OnClick="Button1_Click" />
                    </div>
                    <div class="my-group">
                        <span class="left">性别</span>
                        <asp:RadioButtonList ID="rbtGender" RepeatDirection="Horizontal" CssClass="form-control put1" runat="server">
                            <asp:ListItem Value="0" Selected="True">男</asp:ListItem>
                            <asp:ListItem Value="1">女</asp:ListItem>
                        </asp:RadioButtonList>
                    </div>
                  <div class="my-group">
                        <span class="left">手机</span>
                        <asp:TextBox ID="txtPhone" CssClass="form-control put1" runat="server" placeholder="手机"></asp:TextBox>
                    </div>

                    <div class="my-group">
                        <span class="left">邮箱</span>
                        <asp:TextBox ID="txtEmail" CssClass="form-control put1" runat="server" placeholder="邮箱"></asp:TextBox>
                    </div>
                    <div class="my-group">
                        <span class="left">QQ</span>
                        <asp:TextBox ID="txtQQ" CssClass="form-control put1" runat="server" placeholder="QQ"></asp:TextBox>
                    </div>

                    <div class="form-actions">
                        <p>
                            <input id="cb_clause" type="checkbox" checked="checked">我已经仔细阅读并同意<a href="#" target="_blank">《服务条款》</a>中的相关事项。
                        </p>
                        <asp:Button ID="btnSubmit" CssClass="btn-primary btn" runat="server" Text="注册" OnClick="btnSubmit_Click" />
                    </div>

               
            


                </div>

            </div>


        </div>
    </form>
</body>
</html>
